﻿<div id='body'>
					
	<div id='main-body' >
		<p class='breascum'><h5><a href="<?=$this->baseUrl()?>">Trang chủ </a> / <a href="<?=$this->baseUrl()?>/project/index/type/1">Dự án</a> / <a href="<?=$this->baseUrl()?>/project/index/type/<?=$this->serviceType->id?>"><?=$this->serviceType->name_vn?></a></h5></p>
		<p> <h3><?=$this->serviceType->name_vn?></h3></p>
		<p>
			<div class='duan-details-img'>
				<img width="171" height="171" src='<?=$this->baseUrl()?>/public/uploads/<?=$this->project->image?>' alt/><br/>
			</div>
			<div class='duan-details-description'>
				<h4><?=$this->project->name_vn?></h4>
				<b>Chủ dự án:</b> <?=$this->customer->name_vn?><br/>
                <b>Loại dự án:</b> <?=$this->serviceType->name_vn?><br/>				
				<b>Ngày bắt đầu</b> <?=date_format(date_create($this->project->start_date),"d-m-Y")?><br/>
				<b>Ngày kết thúc:</b> <?=date_format(date_create($this->project->end_date),"d-m-Y")?><br/>
				<b>Mô tả:</b> <?=$this->project->description_vn?> <br />
			</div>
		
		</p>
		<br/><br/>
		
		<br/><br/><br/><br/>
	</div>
	<div id='sidebar'>
		<div id='sidebar-submenu' class='sidebar-block'>
			<div id='sidebar-submenu-top'>
			</div>
			<div id='sidebar-submenu-content'>
				<ul>
					<?php
                    foreach($this->serviceTypeList as $itemServiceType) 
                    {
                        if($itemServiceType->id == $this->project->service_types_id)
                            $class = "class='sidebar-submenu-current'";
                        else
                            $class = "";
                        
                        if($itemServiceType->parent_id == 0):
                            ?>
                            <li <?=$class?>><a href='<?=$this->baseUrl()?>/project/index/type/<?=$itemServiceType->id?>'><?=$itemServiceType->name_vn?></a></li>
                            <?php
                        endif;
                    }
                ?>
				</ul>
			</div>
			<div id='sidebar-submenu-bottom'>
			</div>
		</div>
		<br/>						
	</div>
</div>